/*
 * This file is part of jVisualFS.
 * Version: release-0.8_beta
 *
 * jVisualFS is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * jVisualFS is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with jVisualFS.  If not, see <http://www.gnu.org/licenses/>.
 */

package jvisualfs;

/**
 *
 * @author Dag Rune Sneeggen
 */
public class txtVars {
    // Field members...
    private String DirName;
    private int DirLen;
    
    // Constructor
    public txtVars(/*String name, int len*/) {
        //this.DirName = /*name*/jvisualfs.MainUI.txtDirName.getText();
        //this.DirLen =  /*len*/Integer.parseInt(jvisualfs.MainUI.txtDirSize.getText());
    }
    // Methods
    public void setName (String name) {
        jvisualfs.MainUI.txtDirName.setText(name);
    }
    public void setSize (String len) {
        jvisualfs.MainUI.txtDirSize.setText(len);
    }
    public String getName () {
        return this.DirName;
    }
    public int getSize () {
        return this.DirLen;
    }
}
